package cn.bdqn.service.impl;

import cn.bdqn.mapper.DataDictionaryMapper;
import cn.bdqn.pojo.DataDictionary;
import cn.bdqn.service.DataDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class DataDictionaryServiceImpl implements DataDictionaryService {
    @Autowired
    public DataDictionaryMapper dataDictionaryMapper;

    @Override
    public List<DataDictionary> getDataDictionary() {
        return dataDictionaryMapper.getDataDictionary();
    }

    @Override
    public List<DataDictionary> getDateDictionaryStatus() {
        return dataDictionaryMapper.getDateDictionaryStatus();
    }
}